1bashThis demonstrates using the netstat command to list all listening ports on the system for network troubleshooting.netstat --listeningexternal toolsnetstatnetwork monitoringlist listening ports
2bashThis demonstrates displaying network interface statistics using the netstat command.netstat --interfacesexternal toolsnetstatnetwork interface statistics